﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace _1_Interfaces.Models.Tables.Cjw
{
    /// <summary>
    /// 文章和轮播图列表
    ///</summary>
    [SugarTable("articleList")]
    public class ArticleList
    {
        /// <summary>
        /// id 
        ///</summary>
         [SugarColumn(ColumnName="articleId" ,IsPrimaryKey = true   )]
         public int ArticleId { get; set; }
        /// <summary>
        /// 文章标题 
        ///</summary>
         [SugarColumn(ColumnName="articleTitle"    )]
         public string ArticleTitle { get; set; }
        /// <summary>
        /// 文章内容 
        ///</summary>
         [SugarColumn(ColumnName="articleContent"    )]
         public string ArticleContent { get; set; }
        /// <summary>
        /// 文章发布时间 
        ///</summary>
         [SugarColumn(ColumnName="time"    )]
         public string Time { get; set; }
        /// <summary>
        /// 文章的图片 
        ///</summary>
         [SugarColumn(ColumnName="img"    )]
         public string Img { get; set; }
        /// <summary>
        /// 文章的状态 -1关闭 1正常 
        ///</summary>
         [SugarColumn(ColumnName="state"    )]
         public int? State { get; set; }
        /// <summary>
        /// 文章属性 -1轮播图 1文章 
        ///</summary>
         [SugarColumn(ColumnName="value"    )]
         public int? Value { get; set; }
    }
}
